package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.base.model.PageParams;
import com.xuecheng.base.model.PageResult;
import com.xuecheng.content.model.dto.AddCourseDto;
import com.xuecheng.content.model.dto.CourseBasePageDTO;
import com.xuecheng.content.model.dto.EditCourseDto;
import com.xuecheng.content.model.po.CourseBase;
import com.xuecheng.content.model.vo.CourseBaseInfoVo;
import com.xuecheng.content.model.vo.TeachPlanTreeVo;

import java.util.List;

/**
 * <p>
 * 课程基本信息 服务类
 * </p>
 *
 * @author itcast
 * @since 2024-12-13
 */
public interface CourseBaseService extends IService<CourseBase> {

    PageResult<CourseBase> queryCourseBasePage(PageParams pageParams, CourseBasePageDTO courseBasePageDTO);

    CourseBaseInfoVo saveCourse(AddCourseDto addCourseDto);

    CourseBaseInfoVo queryCourseById(Long courseId);

    CourseBaseInfoVo updateCourse(EditCourseDto courseBaseInfoVo);

    void deleteCourse(Long courseId);
}
